Fixed Reader supports the licensed features (For example FXConnect, NetworkConnect) to make ease of software development and integration faster. The following APIs are supported to manage the License in rm.Licensing class
String serverURL, activationID;
boolean installApp;
serverURL
=
"https://zebra-licensing.flexnetoperations.com/flexnet/deviceservices";
activationID =
"8c88-d0e7-9f3c-435b-968b-69a8-7f8e-a302";
installApp
=
false;
rm.Licensing.AcquireOnline(serverURL, activationID, installApp);
boolean installApp =
false;
String binFilePath =
"C:\\license\\FX9600_84_24_8D_FB_6C_1A.bin";
rm.Licensing.AcquireOffline(binFilePath, installApp);
String serverURL, activationID;
serverURL
=
"https://zebra-licensing.flexnetoperations.com/flexnet/deviceservices";
activationID =
"8c88-d0e7-9f3c-435b-968b-69a8-7f8e-a302";
rm.Licensing.Return(serverURL, activationID);
LicenseInfo[] licenseList = rm.Licensing.AvailableLicenses();
if (licenseList !=
null && licenseList.length > 0)
{
System.out.println("License(s) found::");
for (int index =
0; index < licenseList.length; index++)
{
LicenseInfo licenseObj = licenseList[index];
System.out.println(licenseObj.getName() +
"
version: " + licenseObj.getVersion() +
" host ID: " +
licenseObj.getHostID() +
" expiring on: " + licenseObj.getExpiryDate());
}
}
else
System.out.println("No Licenses installed.");